﻿using UnityEngine;
using System.Collections;

public class GameUI : MonoBehaviour
{
	// Properties

	[SerializeField]
	StageSplash		m_stageSplash;
	[SerializeField]
	GameObject		m_clockhandScreen;
	[SerializeField]
	LastStageClearScreen	m_lastStageScreen;
	[SerializeField]
	EpilogueScreen	m_epilogueScreen;



	// Members

	static GameUI	s_instance;



	public static StageSplash stageSplash
	{
		get
		{
			return s_instance.m_stageSplash;
		}
	}

	public static bool clockhandScreen
	{
		get 
		{
			return s_instance.m_clockhandScreen.activeSelf;
		}
		set
		{
			s_instance.m_clockhandScreen.SetActive(value);
		}
	}

	public static LastStageClearScreen lastStageClearScreen
	{
		get
		{
			return s_instance.m_lastStageScreen;
		}
	}

	public static EpilogueScreen epilogueScreen
	{
		get
		{
			return s_instance.m_epilogueScreen;
		}
	}


	void Awake()
	{
		s_instance	= this;
	}
}
